package com.simba.server.components;

import org.apache.log4j.Logger;

public class MachineParams
{
	private static class MachineParamsHolder
	{
		private static MachineParams INSTANCE = new MachineParams();
	}

	protected final static Logger logger = Logger.getLogger(MachineParams.class);

	public static MachineParams getInstance()
	{
		return MachineParamsHolder.INSTANCE;
	}

	private String runStatus;
	private String serverId;
    private String deviceId;
    private String workshopCode;
    private String centerSituation;
    private int slotNum;
    private String machineStatus = "stopped";



	private MachineParams()
	{
	}

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getWorkshopCode() {
        return workshopCode;
    }

    public void setWorkshopCode(String workshopCode) {
        this.workshopCode = workshopCode;
    }

    public String getCenterSituation() {
        return centerSituation;
    }

    public void setCenterSituation(String centerSituation) {
        this.centerSituation = centerSituation;
    }

    public int getSlotNum() {
        return slotNum;
    }

    public void setSlotNum(int slotNum) {
        this.slotNum = slotNum;
    }

    public String getMachineStatus() {
        return machineStatus;
    }

    public void setMachineStatus(String machineStatus) {
        this.machineStatus = machineStatus;
    }
}
